package com.whenjun.mapper;

import com.whenjun.dto.account.AuthPermissionDTO;
import com.whenjun.entity.AuthPermissionAccount;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author whenjun
 * @since 2023-11-15
 */
public interface AuthPermissionAccountMapper extends BaseMapper<AuthPermissionAccount> {

    // 查询账户权限集合
    List<String> selectPermissionsByAccountId(@Param("accountId") String accountId);


    List<AuthPermissionDTO> selectAccountPermission(@Param("accountId") String accountId);
}
